package com.chuangjiangx.member.manager.web.web.basic.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @Auther: YZJ
 * @Date: 2018/8/28 19:12
 * @Description:修改微信会员卡对象
 */
@ApiModel
@Setter
@Getter
public class ModifyWxCardRequest {
    /**
     * 微信会员卡信息id
     */
    @ApiModelProperty(value = "mbrWxCardId", name = "mbrWxCardId")
    @NotNull(message = "微信会员卡id 不能为空")
    private Long mbrWxCardId;

    /**
     * logourl
     */
    @ApiModelProperty(value = "logoUrl",name = "logo地址")
    private String logoUrl;
    /**
     * 商户名称
     */
    @ApiModelProperty(value = "merchantName",name = "商户名称")
    private String merchantName;

    /**
     * 会员权益展示( 1:余额 2:积分 3：优惠券)
     */
    @ApiModelProperty(value = "会员权益展示( 1:余额 2:积分 3：优惠券)", name = "showEquityList", example = "1,2,3")
    private String showEquityList;

    /**
     * 操作提示
     */
    @ApiModelProperty(value = "操作提示", name = "operationInstruction", required = true)
    @Length(min = 0, max = 16, message = "{operationInstruction.limit}")
    private String operationInstruction;

    /**
     * 自定义入口开关
     */
    @ApiModelProperty(value = "自定义入口开关", name = "interfaceSwitch")
    private Integer interfaceSwitch;

    /**
     * 自定义入口名
     */
    @ApiModelProperty(value = "自定义入口名", name = "interfaceName")
    @Length(max = 5, message = "{interfaceName.limit}")
    private String interfaceName;

    /**
     * 自定义入口引导语
     */
    @ApiModelProperty(value = "自定义入口引导语", name = "interfaceGuide")
    @Length(max = 6, message = "{interfaceGuide.limit}")
    private String interfaceGuide;

    /**
     * 自定义跳转链接
     */
    @ApiModelProperty(value = "自定义跳转链接", name = "interfaceUrl")
    private String interfaceUrl;
}
